﻿<%@ Page Title="" Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true"
    CodeFile="UniteMange.aspx.cs" Inherits="Agency_UniteMange" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat="Server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34">
            </td>
            <td class="intro_wordbg">
                最小制剂单位维护
            </td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34" 、>
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
                单位名称：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtGoodsId" runat="server" CssClass="txtbox_200" NumericOnly="药品流水号"></asp:TextBox>
            </td>
            <td>
                <asp:Button ID="Button5" runat="server" CssClass="button_80" OnClientClick="javascript:return CheckForm();"
                    Text="查  询" />
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="3">
                &nbsp;
            </td>
        </tr>
        <!-- <asp:HyperLinkField DataNavigateUrlFields="GoodsId" DataNavigateUrlFormatString="ImgUp.aspx?GoodsId={0}"
                            HeaderText="图片上传" Target="_blank" Text="点击上传" /> -->
        <tr>
            <td colspan="3">
                <asp:GridView AutoGenerateColumns="False" CellPadding="3" ID="GridView1" runat="server"
                    Width="98%" EmptyDataText="暂无数据" OnRowCancelingEdit="GridView1_RowCancelingEdit"
                    OnRowCommand="GridView1_RowCommand" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpting">
                    <Columns>
                        <asp:BoundField DataField="U_id" HeaderText="单位流水号" ReadOnly="true" />
                        <asp:TemplateField HeaderText="单位名称">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblUname" Text='<%#(DataBinder.Eval(Container,"DataItem.Uname")) %>'></asp:Label></a>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtUname" runat="server" Text='<%#(DataBinder.Eval(Container,"DataItem.Uname")) %>'></asp:TextBox>
                            </EditItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="修改">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbnMod" runat="server" CommandName="Edit" Text='修改' OperateType="编辑"></asp:LinkButton>
                                <asp:LinkButton ID="lbtnDel" runat="server" CommandName="Del" OnClientClick="return  confirm('确认要删除此行信息吗？');"
                                    CommandArgument='<%#Eval("U_id") %>' Text="删除" OperateType="删除"></asp:LinkButton></ItemTemplate>
                            <EditItemTemplate>
                                <asp:LinkButton ID="lbnUpdte" runat="server" CausesValidation="True" CommandName="Update"
                                    Text="更新"></asp:LinkButton>
                                <asp:LinkButton ID="lbnCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                                    Text="取消"></asp:LinkButton>
                            </EditItemTemplate>
                            <HeaderStyle Width="80px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="删除"></asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>
